/**
 * Created by quxiangqian on 2018/6/5.
 */
export  class NaviCard extends React.Component {
    render(){
        return (
            <div className={"navicard "+this.props.margin}>
                <div className="body">
                    <dl>
                        {
                            this.props.dataSource.map((child)=><dt>{child}</dt>)
                        }
                    </dl>
                    <h3>{this.props.title}</h3>
                    <p>{this.props.description}</p>
                </div>
            </div>
        )
    }
}